package com.member.shop.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.member.common.annotation.Excel;
import com.member.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 导入失败对象 sys_biz_import_fail
 *
 * @author lixinchen
 * @date 2024-01-22
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_biz_import_fail")
public class SysBizImportFail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 类型：(1.注册会员导入),(2.充值导入)（3.订单发货）(4.评价)
     */
    @Excel(name = "类型：(1.注册会员导入),(2.充值导入)", readConverterExp = "3=.订单发货")
    private Integer type;

    /**
     * 用户手机号
     */
    @Excel(name = "用户手机号")
    private String userPhone;

    /**
     * 用户充值余额
     */
    @Excel(name = "用户充值余额")
    private String rechargeBalance;

    /**
     * 订单编号code
     */
    @Excel(name = "订单编号code")
    private String orderCode;

    /**
     * 快递公司
     */
    @Excel(name = "快递公司")
    private String expressCompany;

    /**
     * 快递单号
     */
    @Excel(name = "快递单号")
    private String expressNo;

    /**
     * 失败原因
     */
    @Excel(name = "失败原因")
    private String failureReason;


    /**
     * 商品编号
     */
    @Excel(name = "商品编号")
    private String goodsCode;

    /**
     * 星数
     */
    @Excel(name = "星数")
    private String score;

    /**
     * 评价内容
     */
    @Excel(name = "评价内容")
    private String contentText;


    /**
     * 评价内容
     */
    @Excel(name = "评价内容")
    private String specsKey;

    /**
     * 评价用户名称
     */
    @Excel(name = "评价用户名称")
    private String nickName;


}
